<extend name="Public:template" />
<block name="page_header">
<!-- 订单列表页面  -->
<header class="headerSub clearfix">
    <h2>订单详细</h2>
    <a href="{:U('CustOrder/index')}" class="backBtn leftBtn" >订单列表</a>
    <a href="{:U('Cust/index')}" class="rightBtn yellowNorBg">我的小屋</a>
</header>
</block>
<block name="page_body">

<div class="content">
	<!-- 订单详细 -->
	<div class="listContentBox clearfix" style="cursor:pointer" action_url="{:U('CustOrder/showDetail',array('order_code'=>$orderDetail['order_code']))}">
		<h2 class="blueGraBg">订单详情：</h2>
		<dl id="order{$orderDetail.id}" class="itemContentBox" style="height:110px;">
			<dd class="" >
				<p>
					<ul>
						<li>【订单号码】：{$orderDetail.order_code}</li>
						<li>【下单时间】：{$orderDetail.cust_order_time|date="Y-m-d H:i:s",###}</li>
						<li>【订单状态】：{$orderDetail.order_status|m_order_status}</li>
						<li>【联系方式】：{$orderDetail.cust_name}，{$orderDetail.cust_mobile}</li>
						<li>【配送地址】：{$orderDetail.cust_address}</li>
					</ul>
				</p>
				<p class="fr">
					<span>
						订单总额：<span class="deepRed">¥{$orderDetail.order_amt|number_format=###, 2,'.',''}</span>
						<if condition="$orderDetail['order_send_fee'] neq 0">
							(含¥{$orderDetail['order_send_fee']|number_format=###, 2,'.',''}运费)
						<else/>
							(免运费)
						</if>
					</span>
				</p>
			</dd>
		</dl>
	</div>
	<!-- 商品清单 -->
	<div class="listContentBox clearfix">
		<h2 class="yellowGraBg">商品清单:</h2>
		<volist name="orderItems" id="val">
		<dl id="{$val.prod_id}" class="itemContentBox">
			<dd class="">
				<p>{$i}.{$val.prod_name} {$val.prod_spec|m_prod_spec=$val['prod_spec_qty'],$val['prod_spec_unit']}</p>
				<p class="fr">
					<span >¥{$val.prod_price_real}&nbsp&nbsp</span>
					<span class="deepRed" style="font-weight:700;font-size:14px;">×{$val.prod_num}</span>
				</p>
			</dd>
		</dl>
		</volist>
	</div>
	<div class="clearfix">&nbsp;</div>
</div>
</block>
<block name="script_footer">
<script type="text/javascript">
$(document).ready(function(){

})
</script>
</block>